package org.example.design.责任;

/**
 * @Auther:Liu
 * @Testname:Instructor
 * @Date:2025/8/15 12:30
 */
public class Instructor extends Handler {
    @Override
    public void handle(int day) {
        System.out.println("导员可以处理");
        if (day >= 2&&day <= 6) {
            getNext().handle(day);
        }
    }
}
